package com.zshy.base.demo.infras.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zshy.base.demo.domain.contract.param.DemoParam;
import com.zshy.base.demo.domain.demo.model.DemoBO;
import com.zshy.base.demo.infras.repository.entity.DemoPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author zhouhengzhe
 * @Desc Demo仓库，主要是给人去学习用(Demo)表数据库访问层
 * @Date 2023-12-01 17:25:30
 */
@Mapper
public interface DemoMapper extends BaseMapper<DemoPO> {
    /**
     * 根据xxx查询Demo
     *
     * 实现的sql写在xml，或者通过@select
     * @param param
     * @return
     */
    @Select("")
    DemoBO selectDemoWithXxx(DemoParam param);
}
